package com.zy.yun.provider.service.impl;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.zy.yun.base.entity.User;
import com.zy.yun.provider.dao.UserMapper;
import com.zy.yun.provider.service.IUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 用户表 服务实现类
 * </p>
 *
 * @author 王彦委
 * @since 2019-09-11
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {

    @Resource
    private UserMapper userMapper;

    @Override
    public List<Map<String, Object>> maps(EntityWrapper<User> userQueryWrapper) {
        return userMapper.maps(userQueryWrapper);
    }
}
